all:	voca format train gpu cpu
voca:	voca.cpp
	g++ voca.cpp -o voca -O3 -Wall -s -static
format:	format.cpp utf16.h
	g++ format.cpp -o format -O3 -Wall -s -static
train:	train.cu makefile config
	/usr/local/cuda-12.2/bin/nvcc train.cu -o train -arch=sm_89 -lcublas -Xptxas -O3 --std=c++11
gpu:	gpu.cu makefile config
	/usr/local/cuda-12.2/bin/nvcc gpu.cu mongoose.c -o gpu -arch=sm_89 -lcublas -Xptxas -O3 --std=c++11	#-DWEIXIN
cpu:	cpu.cpp makefile config
	g++ cpu.cpp -o cpu -Ofast -march=native -static -s -fopenmp
